package com.avcdata.aoscustommade.view;

import com.avcdata.aoscustommade.bean.DateSelectCategoryBean;
import com.avcdata.aoscustommade.bean.TopBrandAndSelfBrandBean;

import org.json.JSONObject;

/**
 * Created by zyh on 17/6/8.
 */

public interface CitySelectaActivityView {
    //获取产品类型日期等
    void loadSelectCategorySuccess(DateSelectCategoryBean object);
    void loadSelectCategoryFailure();
    void loadSelectCategoryFailure(Throwable throwable);

    //获取城市品牌排行
    void loadCityBrandListSuccess(TopBrandAndSelfBrandBean object);
    void loadCityBrandListFailure();
    void loadCityBrandListFailure(Throwable throwable);

    //城市趋势图
    void loadCityTrendSuccess(JSONObject object);
    void loadCityTrendFailure();
    void loadCityTrendFailure(Throwable throwable);

    //城市销售额同环比
    void loadCityIndustrySalesSuccess(JSONObject object);
    void loadCityIndustrySalesFailure();
    void loadCityIndustrySalesFailure(Throwable throwable);

    //城市行业占饼图
    void loadPiePictureSuccess(JSONObject object);
    void loadPiePictureFailure();
    void loadPiePictureFailure(Throwable throwable);
}
